package org.freedom.securitytest.service;

//import org.freedom.securitytest.dao.UserInfoMapper;
import org.freedom.securitytest.dao.UserInfoMapper;
import org.freedom.securitytest.entity.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedList;

/**
 * @Author:wjup
 * @Date: 2018/9/26 0026
 * @Time: 15:23
 */
@Service
public class UserInfoService {
    @Autowired
    UserInfoMapper userInfoMapper;

    public UserInfo getUserInfoByUsername(String username) {
        return userInfoMapper.getUserInfoByUsername(username);
//        return null;
    }
}